package com.smartwebx.ha.dal.assign.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HaUserArgConfigExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HaUserArgConfigExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPageIdIsNull() {
            addCriterion("page_id is null");
            return (Criteria) this;
        }

        public Criteria andPageIdIsNotNull() {
            addCriterion("page_id is not null");
            return (Criteria) this;
        }

        public Criteria andPageIdEqualTo(Integer value) {
            addCriterion("page_id =", value, "pageId");
            return (Criteria) this;
        }

        public Criteria andPageIdNotEqualTo(Integer value) {
            addCriterion("page_id <>", value, "pageId");
            return (Criteria) this;
        }

        public Criteria andPageIdGreaterThan(Integer value) {
            addCriterion("page_id >", value, "pageId");
            return (Criteria) this;
        }

        public Criteria andPageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("page_id >=", value, "pageId");
            return (Criteria) this;
        }

        public Criteria andPageIdLessThan(Integer value) {
            addCriterion("page_id <", value, "pageId");
            return (Criteria) this;
        }

        public Criteria andPageIdLessThanOrEqualTo(Integer value) {
            addCriterion("page_id <=", value, "pageId");
            return (Criteria) this;
        }

        public Criteria andPageIdIn(List<Integer> values) {
            addCriterion("page_id in", values, "pageId");
            return (Criteria) this;
        }

        public Criteria andPageIdNotIn(List<Integer> values) {
            addCriterion("page_id not in", values, "pageId");
            return (Criteria) this;
        }

        public Criteria andPageIdBetween(Integer value1, Integer value2) {
            addCriterion("page_id between", value1, value2, "pageId");
            return (Criteria) this;
        }

        public Criteria andPageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("page_id not between", value1, value2, "pageId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIsNull() {
            addCriterion("arg_type is null");
            return (Criteria) this;
        }

        public Criteria andArgTypeIsNotNull() {
            addCriterion("arg_type is not null");
            return (Criteria) this;
        }

        public Criteria andArgTypeEqualTo(Integer value) {
            addCriterion("arg_type =", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeNotEqualTo(Integer value) {
            addCriterion("arg_type <>", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeGreaterThan(Integer value) {
            addCriterion("arg_type >", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("arg_type >=", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeLessThan(Integer value) {
            addCriterion("arg_type <", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeLessThanOrEqualTo(Integer value) {
            addCriterion("arg_type <=", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeIn(List<Integer> values) {
            addCriterion("arg_type in", values, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeNotIn(List<Integer> values) {
            addCriterion("arg_type not in", values, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeBetween(Integer value1, Integer value2) {
            addCriterion("arg_type between", value1, value2, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("arg_type not between", value1, value2, "argType");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeIsNull() {
            addCriterion("ext_arg_type is null");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeIsNotNull() {
            addCriterion("ext_arg_type is not null");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeEqualTo(Integer value) {
            addCriterion("ext_arg_type =", value, "extArgType");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeNotEqualTo(Integer value) {
            addCriterion("ext_arg_type <>", value, "extArgType");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeGreaterThan(Integer value) {
            addCriterion("ext_arg_type >", value, "extArgType");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ext_arg_type >=", value, "extArgType");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeLessThan(Integer value) {
            addCriterion("ext_arg_type <", value, "extArgType");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeLessThanOrEqualTo(Integer value) {
            addCriterion("ext_arg_type <=", value, "extArgType");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeIn(List<Integer> values) {
            addCriterion("ext_arg_type in", values, "extArgType");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeNotIn(List<Integer> values) {
            addCriterion("ext_arg_type not in", values, "extArgType");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeBetween(Integer value1, Integer value2) {
            addCriterion("ext_arg_type between", value1, value2, "extArgType");
            return (Criteria) this;
        }

        public Criteria andExtArgTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("ext_arg_type not between", value1, value2, "extArgType");
            return (Criteria) this;
        }

        public Criteria andArgNameIsNull() {
            addCriterion("arg_name is null");
            return (Criteria) this;
        }

        public Criteria andArgNameIsNotNull() {
            addCriterion("arg_name is not null");
            return (Criteria) this;
        }

        public Criteria andArgNameEqualTo(String value) {
            addCriterion("arg_name =", value, "argName");
            return (Criteria) this;
        }

        public Criteria andArgNameNotEqualTo(String value) {
            addCriterion("arg_name <>", value, "argName");
            return (Criteria) this;
        }

        public Criteria andArgNameGreaterThan(String value) {
            addCriterion("arg_name >", value, "argName");
            return (Criteria) this;
        }

        public Criteria andArgNameGreaterThanOrEqualTo(String value) {
            addCriterion("arg_name >=", value, "argName");
            return (Criteria) this;
        }

        public Criteria andArgNameLessThan(String value) {
            addCriterion("arg_name <", value, "argName");
            return (Criteria) this;
        }

        public Criteria andArgNameLessThanOrEqualTo(String value) {
            addCriterion("arg_name <=", value, "argName");
            return (Criteria) this;
        }

        public Criteria andArgNameLike(String value) {
            addCriterion("arg_name like", value, "argName");
            return (Criteria) this;
        }

        public Criteria andArgNameNotLike(String value) {
            addCriterion("arg_name not like", value, "argName");
            return (Criteria) this;
        }

        public Criteria andArgNameIn(List<String> values) {
            addCriterion("arg_name in", values, "argName");
            return (Criteria) this;
        }

        public Criteria andArgNameNotIn(List<String> values) {
            addCriterion("arg_name not in", values, "argName");
            return (Criteria) this;
        }

        public Criteria andArgNameBetween(String value1, String value2) {
            addCriterion("arg_name between", value1, value2, "argName");
            return (Criteria) this;
        }

        public Criteria andArgNameNotBetween(String value1, String value2) {
            addCriterion("arg_name not between", value1, value2, "argName");
            return (Criteria) this;
        }

        public Criteria andArgValueIsNull() {
            addCriterion("arg_value is null");
            return (Criteria) this;
        }

        public Criteria andArgValueIsNotNull() {
            addCriterion("arg_value is not null");
            return (Criteria) this;
        }

        public Criteria andArgValueEqualTo(String value) {
            addCriterion("arg_value =", value, "argValue");
            return (Criteria) this;
        }

        public Criteria andArgValueNotEqualTo(String value) {
            addCriterion("arg_value <>", value, "argValue");
            return (Criteria) this;
        }

        public Criteria andArgValueGreaterThan(String value) {
            addCriterion("arg_value >", value, "argValue");
            return (Criteria) this;
        }

        public Criteria andArgValueGreaterThanOrEqualTo(String value) {
            addCriterion("arg_value >=", value, "argValue");
            return (Criteria) this;
        }

        public Criteria andArgValueLessThan(String value) {
            addCriterion("arg_value <", value, "argValue");
            return (Criteria) this;
        }

        public Criteria andArgValueLessThanOrEqualTo(String value) {
            addCriterion("arg_value <=", value, "argValue");
            return (Criteria) this;
        }

        public Criteria andArgValueLike(String value) {
            addCriterion("arg_value like", value, "argValue");
            return (Criteria) this;
        }

        public Criteria andArgValueNotLike(String value) {
            addCriterion("arg_value not like", value, "argValue");
            return (Criteria) this;
        }

        public Criteria andArgValueIn(List<String> values) {
            addCriterion("arg_value in", values, "argValue");
            return (Criteria) this;
        }

        public Criteria andArgValueNotIn(List<String> values) {
            addCriterion("arg_value not in", values, "argValue");
            return (Criteria) this;
        }

        public Criteria andArgValueBetween(String value1, String value2) {
            addCriterion("arg_value between", value1, value2, "argValue");
            return (Criteria) this;
        }

        public Criteria andArgValueNotBetween(String value1, String value2) {
            addCriterion("arg_value not between", value1, value2, "argValue");
            return (Criteria) this;
        }

        public Criteria andIsShowIsNull() {
            addCriterion("is_show is null");
            return (Criteria) this;
        }

        public Criteria andIsShowIsNotNull() {
            addCriterion("is_show is not null");
            return (Criteria) this;
        }

        public Criteria andIsShowEqualTo(Boolean value) {
            addCriterion("is_show =", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotEqualTo(Boolean value) {
            addCriterion("is_show <>", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThan(Boolean value) {
            addCriterion("is_show >", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_show >=", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowLessThan(Boolean value) {
            addCriterion("is_show <", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowLessThanOrEqualTo(Boolean value) {
            addCriterion("is_show <=", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowIn(List<Boolean> values) {
            addCriterion("is_show in", values, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotIn(List<Boolean> values) {
            addCriterion("is_show not in", values, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowBetween(Boolean value1, Boolean value2) {
            addCriterion("is_show between", value1, value2, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_show not between", value1, value2, "isShow");
            return (Criteria) this;
        }

        public Criteria andSavePointIsNull() {
            addCriterion("save_point is null");
            return (Criteria) this;
        }

        public Criteria andSavePointIsNotNull() {
            addCriterion("save_point is not null");
            return (Criteria) this;
        }

        public Criteria andSavePointEqualTo(String value) {
            addCriterion("save_point =", value, "savePoint");
            return (Criteria) this;
        }

        public Criteria andSavePointNotEqualTo(String value) {
            addCriterion("save_point <>", value, "savePoint");
            return (Criteria) this;
        }

        public Criteria andSavePointGreaterThan(String value) {
            addCriterion("save_point >", value, "savePoint");
            return (Criteria) this;
        }

        public Criteria andSavePointGreaterThanOrEqualTo(String value) {
            addCriterion("save_point >=", value, "savePoint");
            return (Criteria) this;
        }

        public Criteria andSavePointLessThan(String value) {
            addCriterion("save_point <", value, "savePoint");
            return (Criteria) this;
        }

        public Criteria andSavePointLessThanOrEqualTo(String value) {
            addCriterion("save_point <=", value, "savePoint");
            return (Criteria) this;
        }

        public Criteria andSavePointLike(String value) {
            addCriterion("save_point like", value, "savePoint");
            return (Criteria) this;
        }

        public Criteria andSavePointNotLike(String value) {
            addCriterion("save_point not like", value, "savePoint");
            return (Criteria) this;
        }

        public Criteria andSavePointIn(List<String> values) {
            addCriterion("save_point in", values, "savePoint");
            return (Criteria) this;
        }

        public Criteria andSavePointNotIn(List<String> values) {
            addCriterion("save_point not in", values, "savePoint");
            return (Criteria) this;
        }

        public Criteria andSavePointBetween(String value1, String value2) {
            addCriterion("save_point between", value1, value2, "savePoint");
            return (Criteria) this;
        }

        public Criteria andSavePointNotBetween(String value1, String value2) {
            addCriterion("save_point not between", value1, value2, "savePoint");
            return (Criteria) this;
        }

        public Criteria andShowValueIsNull() {
            addCriterion("show_value is null");
            return (Criteria) this;
        }

        public Criteria andShowValueIsNotNull() {
            addCriterion("show_value is not null");
            return (Criteria) this;
        }

        public Criteria andShowValueEqualTo(String value) {
            addCriterion("show_value =", value, "showValue");
            return (Criteria) this;
        }

        public Criteria andShowValueNotEqualTo(String value) {
            addCriterion("show_value <>", value, "showValue");
            return (Criteria) this;
        }

        public Criteria andShowValueGreaterThan(String value) {
            addCriterion("show_value >", value, "showValue");
            return (Criteria) this;
        }

        public Criteria andShowValueGreaterThanOrEqualTo(String value) {
            addCriterion("show_value >=", value, "showValue");
            return (Criteria) this;
        }

        public Criteria andShowValueLessThan(String value) {
            addCriterion("show_value <", value, "showValue");
            return (Criteria) this;
        }

        public Criteria andShowValueLessThanOrEqualTo(String value) {
            addCriterion("show_value <=", value, "showValue");
            return (Criteria) this;
        }

        public Criteria andShowValueLike(String value) {
            addCriterion("show_value like", value, "showValue");
            return (Criteria) this;
        }

        public Criteria andShowValueNotLike(String value) {
            addCriterion("show_value not like", value, "showValue");
            return (Criteria) this;
        }

        public Criteria andShowValueIn(List<String> values) {
            addCriterion("show_value in", values, "showValue");
            return (Criteria) this;
        }

        public Criteria andShowValueNotIn(List<String> values) {
            addCriterion("show_value not in", values, "showValue");
            return (Criteria) this;
        }

        public Criteria andShowValueBetween(String value1, String value2) {
            addCriterion("show_value between", value1, value2, "showValue");
            return (Criteria) this;
        }

        public Criteria andShowValueNotBetween(String value1, String value2) {
            addCriterion("show_value not between", value1, value2, "showValue");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andLastTimeIsNull() {
            addCriterion("last_time is null");
            return (Criteria) this;
        }

        public Criteria andLastTimeIsNotNull() {
            addCriterion("last_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastTimeEqualTo(Date value) {
            addCriterion("last_time =", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeNotEqualTo(Date value) {
            addCriterion("last_time <>", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeGreaterThan(Date value) {
            addCriterion("last_time >", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_time >=", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeLessThan(Date value) {
            addCriterion("last_time <", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_time <=", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeIn(List<Date> values) {
            addCriterion("last_time in", values, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeNotIn(List<Date> values) {
            addCriterion("last_time not in", values, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeBetween(Date value1, Date value2) {
            addCriterion("last_time between", value1, value2, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_time not between", value1, value2, "lastTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}